// farm/pattern/state/RunningState.java
package farm.pattern.state;

import farm.entity.FarmMachine;

public class RunningState implements MachineState {
    @Override
    public void handle(FarmMachine machine) {
        System.out.println(machine.getType() + " 正在运行");
    }

    @Override
    public boolean isRunning() {
        return true;  // 运行状态返回true
    }
}